hsp Screen
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.hspScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.ihsp by default, 50.ihsp on television with height >= 800.
PT Extensão para TextUnit (Sp) com dimensionamento dinâmico baseado na Altura da Tela (hDP).
EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.
PT Extensão para TextUnit (Sp) com dimensionamento dinâmico baseado na Altura da Tela (hDP). Retorna o valor original auto-escalonado usando o qualificador especificado se a condição não for atendida. Quando o dispositivo corresponde ao uiModeType E a métrica de tela para qualifierType é >= qualifierValue, usa screenValue no lugar.